package src.lab02.test01.test12;

public class Test12 {
    public static void main(String[] args) {

        //ctrl alt l格式化
        Circle c1 = new Circle();
        c1.raduis = 1.0;
        System.out.println("半径为1.0圆的面积 " + c1.area());
        System.out.println("半径为1.0圆的周长 " + c1.perimerter());

        Rectangular rectangular = new Rectangular();
        rectangular.height = 2;
        rectangular.width = 1;
        System.out.println("矩形的面积 " + rectangular.area());
        System.out.println("矩形的周长 " + rectangular.perimerter());
    }
}
